home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000395_slash_dev_slas…_2000@yahoo.com_Tue Sep 21 08:34:02 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!newsfeed.cwix.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!postnews1.google.com!h37g2000oda.googlegroups.com!not-for-mail
  2. From: "Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: surgeftp server, bizarre prepending of filename with mget *
  5. Date: 20 Sep 2004 17:27:07 -0700
  6. Organization: http://groups.google.com
  7. Lines: 59
  8. Message-ID: <1095726427.519892.271580@h37g2000oda.googlegroups.com>
  9. References: <jTG3d.31142$ci3.967656@twister.southeast.rr.com>
  10.    <slrnckufjv.s0f.fdc@sesame.cc.columbia.edu>
  11. NNTP-Posting-Host: 209.182.169.133
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset="iso-8859-1"
  14. X-Trace: posting.google.com 1095726427 15534 127.0.0.1 (21 Sep 2004 00:27:07 GMT)
  15. X-Complaints-To: groups-abuse@google.com
  16. NNTP-Posting-Date: Tue, 21 Sep 2004 00:27:07 +0000 (UTC)
  17. In-Reply-To: <slrnckufjv.s0f.fdc@sesame.cc.columbia.edu>
  18. User-Agent: G2/0.2
  19. Complaints-To: groups-abuse@google.com
  20. Injection-Info: h37g2000oda.googlegroups.com; posting-host=209.182.169.133;
  21.    posting-account=iQNWIg0AAAAD2fStXNC9nwGlPdSqjWrI
  22. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15171
  23.  
  24. Frank da Cruz wrote:
  25. > On 2004-09-20, x@y.org <flyingboz@hotmail.com> wrote:
  26. <snip>
  27. > :
  28. > : I get the following msg back for each file :
  29. > :
  30. > :
  31. [type=file;size=7238;modify=20040917212843;create=20040917212842;perm=radfw
  32. > : 445284152.G6116RWE.EXT]
  33. > :  GET radfw 445284152.G6116RWE.EXT (binary) (7238 bytes)---> PORT
  34. > : 169,254,68,181,6,64
  35. > : 200 PORT command successful.
  36. > : ---> RETR radfw 445284152.G6116RWE.EXT
  37. > : 550 radfw 445284152.G6116RWE.EXT: Cannot open file No such file or
  38. directory
  39. > :: MESSAGE: radfw 445284152.G6116RWE.EXT: Cannot open file No such
  40. file or
  41. > : directory
  42. > :
  43. > : What on earth is this radfw that is prepending itself to my
  44. filename, hence
  45. > : (I believe) causing the RETR to fail?
  46. > :
  47. > It appears the server supports MLSD:
  48. >
  49. >   http://www.columbia.edu/kermit/newftp.html
  50. >
  51. > The "radfw" bit is the file permissions reported by the server.  Why
  52. is it
  53. > being prepended to the filename?  Beats me.
  54.  
  55. Your example of an MLSD list on the page at
  56. http://www.columbia.edu/kermit/newftp.html shows the various fields
  57. (type=, size=, etc. being separated from each other and from the file
  58. name by a semicolon.
  59.  
  60. In the list reported above, it appears the perm=radfw at the end of the
  61. list of attributes is separated from the file name only by a space. I'm
  62. only guessing, but I suspect Kermit is splitting the MLSD response into
  63. tokens separated by "=" and ";" and is thus not separating the "radfw"
  64. from the file name.
  65.  
  66. The draft at
  67. http://www.ietf.org/internet-drafts/draft-ietf-ftpext-mlst-16.txt says
  68. about MLSD responses:
  69.  
  70. data-response    = *( entry CRLF )
  71.  
  72. entry            = [ facts ] SP pathname
  73. facts            = 1*( fact ";" )
  74. fact             = factname "=" value
  75.  
  76. I.e. all facts are terminated with ";" so it would appear that Kermit
  77. is correct and the servers MLSD response is missing the semicolon.
  78.  
  79. --
  80. Mark Sapiro <msapiro@value.net>       The highway is for gamblers,
  81. San Francisco Bay Area, California    better use your sense - B. Dylan
  82.